<template>
    <div class="myattr">
        <div v-for="(item, index) in $attrs.attrvalss" :key="item.attr_id" v-bind="$attrs">
            <p>{{ item.attr_name }}</p>
            <el-checkbox-group v-model="item.checked" size="small">
              <el-checkbox
                :label="item1"
                border
                v-for="(item1, index1) in item.attr_vals"
                :key="index1"
              ></el-checkbox>
            </el-checkbox-group>
          </div>
    </div>
</template>
<script>
export default {
    name:'myattr',
    data() {
        return {
            
        }
    },
    created() {
        console.log(this.$attrs);
    },
}
</script>
<style lang="scss" scoped>

</style>